package com.ocom.company.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.company.EntityFlowConfig;
import com.ocom.common.entity.company.EntityFlowPushInfo;
import com.ocom.common.enums.DataSourceEnum;
import com.ocom.common.enums.MasterSlaveEnum;
import com.ocom.common.request.company.SelectFlowPushInfoRequest;
import com.ocom.common.vo.FlowPushInfoVo;
import com.ocom.mysql.aspect.DataSourceAspect;

import java.util.List;

public interface FlowPushInfoService extends IService<EntityFlowPushInfo> {

    List<FlowPushInfoVo> selectFlowPushInfo(Long companyId, SelectFlowPushInfoRequest selectFlowPushInfoRequest);

    List<EntityFlowPushInfo> list(Long companyId,EntityFlowPushInfo entityFlowPushInfo);

    boolean save(Long companyId,EntityFlowPushInfo entityFlowPushInfo);

    boolean update(Long companyId,EntityFlowPushInfo entityFlowPushInfo);

    boolean remove(Long companyId,EntityFlowPushInfo entityFlowPushInfo);
}
